package entity;

public class Teacher extends Person {
    private String department;

    public Teacher(String id, String name, String department) {
        super(id, name);
        this.department = department;
    }

    @Override
    public void printWorkSheet() {
        super.printWorkSheet();
        System.out.println("类型: 教师授课表");
        System.out.println("院系: " + department);
        System.out.println();
    }
}